package pl.wr.physics.units.SI.base;

import pl.wr.math.number.Fraction;
import pl.wr.physics.units.AbstractUnit;
import pl.wr.physics.units.SI.Prefix;

/**
 * Thermodynamic temperature - International System of Units (SI)
 * 
 * @version 1.0
 * @author wieslaw.rodak
 * 
 */
public final class K extends AbstractUnit {

	public static final String symbol = "T";

	/**
	 * kelvin - K
	 * 
	 * @param value
	 *            in <code>int</code>
	 */
	public K(int value) {
		this(Prefix.basic, value);
	}

	/**
	 * kelvin - K
	 * 
	 * @param value
	 *            in <code>float</code>
	 */
	public K(float value) {
		this(Prefix.basic, value);
	}

	/**
	 * kelvin - K
	 * 
	 * @param value
	 *            in <code>Fraction</code>
	 */
	public K(Fraction value) {
		this(Prefix.basic, value);
	}

	/**
	 * kelvin - K
	 * 
	 * @param p
	 *            - prefix SI
	 * @param value
	 *            - value in <code>int</code>
	 */
	public K(Prefix p, int value) {
		super(p, value, K.class.getSimpleName());
	}

	/**
	 * kelvin - K
	 * 
	 * @param p
	 *            - prefix SI
	 * @param value
	 *            - value in <code>float</code>
	 */
	public K(Prefix p, float value) {
		super(p, value, K.class.getSimpleName());
	}

	/**
	 * kelvin - K
	 * 
	 * @param p
	 *            - prefix SI
	 * @param value
	 *            - value in <code>Fraction</code>
	 */
	public K(Prefix p, Fraction value) {
		super(p, value, K.class.getSimpleName());
	}
}
